﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="admin_notice_list.aspx.cs" Inherits="admin_admin_notice_list" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head id="Head1" runat="server">
    <title>公告列表</title>
    <link href="../css/StyleSheet.css" rel="StyleSheet" type="text/css" />
    <link href="../css/css.css" rel="StyleSheet" type="text/css" />
</head>
<body style="margin:0px; padding:0px; border:0px; text-align:left; background-color:#F2F2F2;">
    <form id="form1" runat="server">
    <div class="gg_back">
        <table style="width: 580px;" border="0" cellpadding="0" cellspacing="0">
            <tr>
                <td valign="top">
                    <div class="gridview_title">公告列表</div>
                    <asp:GridView ID="GridView1" runat="server" AllowPaging="true" PageSize="19" 
                    AutoGenerateColumns="False" CellPadding="4" ForeColor="#333333" GridLines="None" Width="580px" 
                    OnPageIndexChanging="GridView1_PageIndexChanging"
                    OnRowCancelingEdit="GridView1_RowCancelingEdit"
                    OnRowDataBound="GridView1_RowDataBound" 
                    OnRowDeleting="GridView1_RowDeleting" 
                    OnRowEditing="GridView1_RowEditing" 
                    OnRowUpdating="GridView1_RowUpdating" >
                        <FooterStyle BackColor="#507CD1" Font-Bold="True" ForeColor="White" />
                        <Columns>
                            <asp:BoundField DataField="title" HeaderText="标题">
                            <ItemStyle Width="80px" HorizontalAlign="Center" />
                            </asp:BoundField>
                            <%--<asp:BoundField DataField="content" HeaderText="内容">
                            <ItemStyle Width="160px" />
                            </asp:BoundField>--%>
                            <asp:BoundField DataField="addadminname" HeaderText="作者">
                            <ItemStyle Width="50px" HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:BoundField DataField="addtime" HeaderText="发布时间">
                            <ItemStyle Width="100px" HorizontalAlign="Center" />
                            </asp:BoundField>
                            <asp:HyperLinkField DataNavigateUrlFields="noticeid" DataNavigateUrlFormatString="admin_notice_detail.aspx?noticeid={0}"
                            HeaderText="详细信息" Target="main" Text="详细信息">
                            <ItemStyle Width="80px" HorizontalAlign="Center"/>
                            </asp:HyperLinkField>
                            <asp:CommandField HeaderText="删除" ShowDeleteButton="True">
                            <ItemStyle Width="50px" HorizontalAlign="Center" />
                            </asp:CommandField>
                            
                        </Columns>
                        <SelectedRowStyle BackColor="#D1DDF1" ForeColor="#333333" HorizontalAlign="Center" Font-Bold="True" />
                        <PagerStyle BackColor="#2461BF" ForeColor="White" HorizontalAlign="Center" />
                        <HeaderStyle BackColor="#507CD1" Font-Bold="True" HorizontalAlign="Center" ForeColor="White" />
                        <AlternatingRowStyle BackColor="White" HorizontalAlign="Center" />
                        <RowStyle BackColor="#EFF3FB" HorizontalAlign="Center"/>
                        <EditRowStyle BackColor="#2461BF" HorizontalAlign="Center" />
                    </asp:GridView>
                </td>
            </tr>
        </table>
    
    </div>
    </form>
</body>
</html>
